package com.skivingcloud.workflow.api.feignclient;

import com.skivingcloud.common.utils.ReturnT;
import com.skivingcloud.workflow.api.entity.TaskParam;

/**
 * @author hushouquan
 * @since 2024/3/14
 */
public class ProcessFeignServiceFallback implements ProcessFeignService{
    /**
     * 流程提交方法
     *
     * @param taskParam 参数
     * @return 结果
     */
    @Override
    public ReturnT<String> submitTask(TaskParam taskParam){
        return ReturnT.error("调用流程提交方法失败");
    }
}
